package io.geekidea.boot.supplier.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.geekidea.boot.supplier.entity.Supplier;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface SupplierMapper extends BaseMapper<Supplier> {
    @Update("update tb_supplier set deleted = 1 where id = #{id}")
    int delByIdInt(int id);

}
